﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PedagogueManager.ascx.cs"
    Inherits="Framework.Portal.Layouts.Admin.Components.BGTT.Courses.PedagogueManager" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
    <tr>
        <td class="header1" align="left">
            <asp:Label ID="lblCommandName" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="header2" align="left" valign="top">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td class="postheader" align="left" valign="top">
            <asp:Repeater ID="rptLetters" runat="server" OnItemCommand="rptLetters_ItemCommand"
                OnItemDataBound="rptLetters_ItemDataBound">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                        <tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <td class="post" align="center">
                        <asp:LinkButton ID="lnkLetter" runat="server" CommandName="Alpha"></asp:LinkButton>
                    </td>
                </ItemTemplate>
                <FooterTemplate>
                    </tr> </table>
                </FooterTemplate>
            </asp:Repeater>
        </td>
    </tr>
    <tr>
        <td class="postheader" align="left" valign="top">
            <asp:UpdatePanel ID="upanelGridUserManagemt" runat="server" UpdateMode="Conditional"
                RenderMode="Inline">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="rptLetters" EventName="ItemCommand" />
                </Triggers>
                <ContentTemplate>
                    <table class="content" cellspacing="1" cellpadding="0" width="100%">
                        <tr>
                            <td class="header2" align="left" width="25">
                                <NS:Label ID="Label6" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ID" />
                            </td>
                            <td class="header2" align="left">
                                <NS:Label ID="Label1" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="USERNAME" />
                            </td>
                            <td class="header2" align="left">
                                <NS:Label ID="Label2" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="EMAIL" />
                            </td>
                            <td class="header2" align="left">
                                <NS:Label ID="Label3" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="DISPLAYNAME" />
                            </td>
                            <td class="header2" align="left">
                                <NS:Label ID="Label4" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ROLE" />
                            </td>
                            <td class="header2" align="center" width="140">
                                <NS:Label ID="Label5" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ACTION" />
                            </td>
                        </tr>
                        <asp:Repeater ID="dtgUsers" runat="server" OnItemCommand="dtgUsers_ItemCommand" OnItemDataBound="dtgUsers_ItemDataBound">
                            <ItemTemplate>
                                <tr>
                                    <td class="post" align="left">
                                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("UserID") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblUsername" runat="server" Text='<%# Eval("Username") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblDisplayName" runat="server" Text='<%# Eval("DisplayName") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblRoleDescription" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="ROLE24" ID="btnSetPedagogue"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Đặt làm giáo viên" />
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="EDIT24" ID="ImageButton1"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Sửa thông tin" />
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <AlternatingItemTemplate>
                                <tr>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("UserID") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblUsername" runat="server" Text='<%# Eval("Username") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblDisplayName" runat="server" Text='<%# Eval("DisplayName") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblRoleDescription" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="ROLE24" ID="btnSetPedagogue"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Đặt làm giáo viên" />
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="EDIT24" ID="ImageButton1"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Sửa thông tin" />
                                    </td>
                                </tr>
                            </AlternatingItemTemplate>
                        </asp:Repeater>
                        <tr>
                            <td class="footer" colspan="6" height="25">
                                <asp:Label ID="lblUpdateStatus" ForeColor="Blue" Font-Bold="true" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
    </tr>
</table>
